package com.byit.start;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author wangx
 */
@SpringBootConfiguration
@ComponentScan({"com.byit"})
@EnableAutoConfiguration(
        exclude = {
                /** 排除RestApiAutoConfiguration 解决冲突问题 */
                org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class,
                org.activiti.spring.boot.SecurityAutoConfiguration.class,
                org.activiti.spring.boot.RestApiAutoConfiguration.class,
        })
public class WebStart {

    /**
     * 入口
     *
     * @param args
     * @throws Exception
     */
    public static void main(String[] args) throws Exception {
        SpringApplication.run(WebStart.class, args);
    }


}
